Release 10.1A: OpenEdge Development:
Web Services


Running an internal procedure or user-defined function

The following sample shows how you might invoke the GetTotalOrdersByNumber( ) method:

try 
{ 
  int orderCount = custOrder.getTotalOrdersByNumber(new BigDecimal(5.0)); 
  System.out.println("The total Customer Orders are: " + orderCount); 
} 
catch (NullPointer Exception e) 
{ 
  ... 
} 

Note: The object ID handler automatically inserts the custOrder object ID into the SOAP request header.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095